package com.cmii.sjw.department.control.jsc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cmii.sjw.department.control.jsc.model.dto.MenuQueryDTO;
import com.cmii.sjw.department.control.jsc.model.entity.Menu;
import com.cmii.sjw.department.control.jsc.model.vo.MenuNode;

import java.util.List;

/**
 * @Author jfh
 * @Date 2025-04-08 周二 15:34
 * @Version 1.0
 */
public interface MenuService extends IService<Menu> {
    List<MenuNode> getMenuTree();

    boolean saveMenu(Menu menu);

    boolean deleteMenu(Long id);

    List<Menu> getMenuList();

    Menu getMenuById(Long id);

    List<Menu> getMenuListByCondition(MenuQueryDTO queryDTO);
}
